<!-- INCLUDE overall_header.html -->

<a name="maincontent"></a>

<form id="acp_post_bot" name="postform" method="post" action="{U_ACTION}">

<fieldset>
	<legend>{L_AUTO_REPLY_SETTING}</legend>
	<dl>
		<dt><label for="username">{L_USERNAME}:</label></dt>
		<dd><input class="text medium" type="text" id="username" name="username" value="{USER}" /></dd>
		<dd>[ <a href="{U_FIND_USER}" onclick="find_username(this.href); return false;">{L_FIND_USERNAME}</a> ]</dd>
	</dl>

	<dl>
		<dt><label for="check_every">{L_CHECK_EVERY}:</label></dt>
		<dd><input class="small" type="text" id="check_every" name="check_every" value="{CHECK_EVERY}"/> {L_MINUTES}</dd>
	</dl>

	<dl>
		<dt><label for="reply_after">{L_REPLY_AFTER}:</label></dt>
		<dd><input class="small" type="text" id="reply_after" name="reply_after" value="{REPLY_AFTER}"/> {L_MINUTES}</dd>
	</dl>
	
	<p class="quick">
		<input class="button2" name="submit" type="submit" value="{L_SUBMIT}" />
		<input class="button2" name="add" type="submit" value="{L_ADD_AUTO_REPLY}" />
	</p>
	
	{S_FORM_TOKEN}
</form>
</fieldset>	

<legend><strong>{L_AUTO_REPLY_NORMAL}</strong></legend>
<fieldset class="tabulated">
	<table cellspacing="1" id="down">
		<thead>
			<tr>
				<th>{L_FORUM_ID}</th>
				<th>{L_MESSAGE}</th>
				<th>{L_ACTION}</th>
			</tr>
		</thead>
		<tbody>
		<!-- BEGIN normal_reply -->
			<!-- IF normal_reply.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
				<td style="text-align: center; width: 60px;">{normal_reply.FORUM_ID}</td>
				<td style="text-align: left;">{normal_reply.MESSAGE}</td>
				<td style="text-align: right; width: 40px;"><a href="{normal_reply.U_EDIT}">{ICON_EDIT}</a> <a href="{normal_reply.U_DELETE}">{ICON_DELETE}</a></td>
			</tr>
		<!-- BEGINELSE -->
			<tr class="row3">
				<td colspan="3">{L_ACP_NO_ITEMS}</td>
			</tr>
		<!-- END normal_reply -->
		</tbody>
	</table>
</fieldset>

<br />

<legend><strong>{L_AUTO_REPLY_TIMED}</strong></legend>	
<fieldset class="tabulated">
	<table cellspacing="1" id="down">
		<thead>
			<tr>
				<th>{L_FORUM_ID}</th>
				<th>{L_MESSAGE}</th>
				<th>{L_ACTION}</th>
			</tr>
		</thead>
		<tbody>
		<!-- BEGIN timed_reply -->
			<!-- IF timed_reply.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
				<td style="text-align: center; width: 60px;">{timed_reply.FORUM_ID}</td>
				<td style="text-align: left;">{timed_reply.MESSAGE}</td>				
				<td style="text-align: right; width: 40px;"><a href="{timed_reply.U_EDIT}">{ICON_EDIT}</a> <a href="{timed_reply.U_DELETE}">{ICON_DELETE}</a></td>
			</tr>
		<!-- BEGINELSE -->
			<tr class="row3">
				<td colspan="3">{L_ACP_NO_ITEMS}</td>
			</tr>
		<!-- END timed_reply -->
		</tbody>
	</table>
</fieldset>

<!-- INCLUDE overall_footer.html -->
